//package com.best.factory;
//
//import com.best.service.TestService;
//import org.springframework.beans.BeansException;
//import org.springframework.beans.factory.config.BeanFactoryPostProcessor;
//import org.springframework.beans.factory.config.ConfigurableListableBeanFactory;
//import org.springframework.beans.factory.support.GenericBeanDefinition;
//import org.springframework.stereotype.Component;
//
///**
// * @author Jiang Akang
// * employeeId: BG435424
// * @date 2021/5/22
// **/
//
//@Component
//public class BestBeanFactoryPostProcessor implements BeanFactoryPostProcessor {
//
//	@Override
//	public void postProcessBeanFactory(ConfigurableListableBeanFactory beanFactory) throws BeansException {
//		GenericBeanDefinition c = (GenericBeanDefinition) beanFactory.getBeanDefinition("c");
//		System.out.println(c.getBeanClassName());
//		c.setBeanClass(TestService.class);
//	}
//}
